package com.kgc.novel.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kgc.novel.domain.entity.BookRecord;
import com.kgc.novel.domain.param.BookRecordParam;
import com.kgc.novel.domain.param.BookShelfParam;
import com.kgc.novel.domain.vo.BookRecordVO;
import com.kgc.novel.domain.vo.BookShelfVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookRecordMapper extends BaseMapper<BookRecord> {
    List<BookRecordVO> getAllRecord(BookRecordParam bookRecordParam);

    Integer getCountRecord(@Param("nickName") String nickName);
}
